package com.group.pojo;

import java.util.Date;
import java.util.List;

public class TbDevice {
    private String id;

    private String deviceName;

    private String deviceModel;

    private String deviceServiceNumber;

    private String categoryId;

    private String deviceImageUrl;

    private String deviceDesc;

    private String createUserId;

    private Date createTime;

    private String updateUserId;

    private Date updateTime;

    private String deviceStatus;
    
    private List<TbDeviceAttr> deviceAttrs; 

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName == null ? null : deviceName.trim();
    }

    public String getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel == null ? null : deviceModel.trim();
    }

    public String getDeviceServiceNumber() {
        return deviceServiceNumber;
    }

    public void setDeviceServiceNumber(String deviceServiceNumber) {
        this.deviceServiceNumber = deviceServiceNumber == null ? null : deviceServiceNumber.trim();
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId == null ? null : categoryId.trim();
    }

    public String getDeviceImageUrl() {
        return deviceImageUrl;
    }

    public void setDeviceImageUrl(String deviceImageUrl) {
        this.deviceImageUrl = deviceImageUrl == null ? null : deviceImageUrl.trim();
    }

    public String getDeviceDesc() {
        return deviceDesc;
    }

    public void setDeviceDesc(String deviceDesc) {
        this.deviceDesc = deviceDesc == null ? null : deviceDesc.trim();
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId == null ? null : updateUserId.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(String deviceStatus) {
        this.deviceStatus = deviceStatus == null ? null : deviceStatus.trim();
    }

	public List<TbDeviceAttr> getDeviceAttrs() {
		return deviceAttrs;
	}

	public void setDeviceAttrs(List<TbDeviceAttr> deviceAttrs) {
		this.deviceAttrs = deviceAttrs;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("TbDevice [id=");
		builder.append(id);
		builder.append(", deviceName=");
		builder.append(deviceName);
		builder.append(", deviceModel=");
		builder.append(deviceModel);
		builder.append(", deviceServiceNumber=");
		builder.append(deviceServiceNumber);
		builder.append(", categoryId=");
		builder.append(categoryId);
		builder.append(", deviceImageUrl=");
		builder.append(deviceImageUrl);
		builder.append(", deviceDesc=");
		builder.append(deviceDesc);
		builder.append(", createUserId=");
		builder.append(createUserId);
		builder.append(", createTime=");
		builder.append(createTime);
		builder.append(", updateUserId=");
		builder.append(updateUserId);
		builder.append(", updateTime=");
		builder.append(updateTime);
		builder.append(", deviceStatus=");
		builder.append(deviceStatus);
		builder.append(", deviceAttrs=");
		builder.append(deviceAttrs);
		builder.append("]");
		return builder.toString();
	}
    
    
}